package com.office.meeting.view.service.impl;

import java.util.List;

import com.office.common.utils.SecurityUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.office.meeting.view.mapper.ViewMeetingUserMapper;
import com.office.meeting.view.domain.ViewMeetingUser;
import com.office.meeting.view.service.IViewMeetingUserService;

/**
 * 参会人员Service业务层处理
 *
 * @author 柒月
 * @date 2025-05-26
 */
@Service
public class ViewMeetingUserServiceImpl implements IViewMeetingUserService {
    @Autowired
    private ViewMeetingUserMapper viewMeetingUserMapper;


    /**
     * 查询参会人员列表
     *
     * @param viewMeetingUser 参会人员
     * @return 参会人员
     */
    @Override
    public List<ViewMeetingUser> selectViewMeetingUserList(ViewMeetingUser viewMeetingUser) {
        Long loginUserId = SecurityUtils.getUserId();
        return viewMeetingUserMapper.selectViewMeetingUserList(viewMeetingUser,loginUserId);
    }

}
